
package com.wyzz.hr.bo;

import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Emptransfer;
import com.wyzz.hr.pojo.Position;
import com.wyzz.hr.util.Pager;

import java.util.*;
import org.hibernate.criterion.DetachedCriteria;

public interface IEmployeeBo {

	public abstract Employee loadEmpByDistinctNo(String s);

	public abstract List exeHqlList(String s, int ai[]);

	public abstract List exeHqlList(String s, String as[], String as1[]);

	public abstract List findByCriteria(DetachedCriteria detachedcriteria);

	public abstract int findRowCountByCriteria(DetachedCriteria detachedcriteria);

	public abstract void saveOrupdate(Collection collection);

	public abstract boolean saveOrUpdateEmpInfo(List list, List list1,
			List list2, List list3);

	public abstract List getObjects(Class class1, String as[]);

	public abstract Employee loadEmp(Object obj, String as[]);

	public abstract List loadEmp(String as[], String as1[]);

	public abstract List updateEmpByempInfo(Employee employee, String s);

	public abstract void updateEmp(String s, String s1, String s2);

	public abstract List deleteEmp(Employee employee);

	public abstract List searchAndExportEmp(DetachedCriteria detachedcriteria,
			Pager pager, String s);

	public abstract List getEmpStatus();

	public abstract String saveCreateEmp(Employee employee, Employee employee1,
			String s);

	public abstract List insertEmp(Employee employee, Employee employee1);

	public abstract List findDirectEmps(String s);

	public abstract int countAllEmpNumbers(String s);

	public abstract List findNouserEmps();

	public abstract List searchEmpContract(String as[]);

	public abstract List searchEmpArray(String as[]);

	public abstract List batchUpdateOrDel(Employee employee, String s, String s1);

	public abstract List getAllRootNodes();

	public abstract List getPbActiveEmpNos(String s);

	public abstract List loadAll();

	public abstract List loadAllInService();

	public abstract boolean checkEmpInCharge(Employee employee,
			Employee employee1);

	public abstract List loadEmpDetails(String as[]);

	public abstract List batchTransfer(Emptransfer emptransfer, String as[],
			String s, Position position);

	public abstract Map getEmployeeMap(Collection collection);

	public abstract List getEmpsNeedCard(Integer integer, String as[]);

	public abstract List findAllActiveEmployees(String s);

	public abstract List findDimissionEmpInStartAndEnd(String s, String s1,
			String s2);

	public abstract List findAllDimissionEmployees();

	public abstract Integer findEmployeeMaxMachineNo();

	public abstract List getEmpSumReport(String s, String s1, String s2);

	public abstract List getEmpNewReport(String s, String s1, String s2);

	public abstract List getEmpNewRateReport(String s, String s1, String s2);

	public abstract List getEmpNetRateReport(String s, String s1, String s2);

	public abstract List getEmpDimissionRateReport(String s, String s1,
			String s2);

	public abstract List getAllEmpBasicInfo();

	public abstract List getEmpDistinct();
}
